{{include file="TEMPLATE/public/head.html"}}
{{include file="TEMPLATE/public/headCate.html"}}

	<!--面包屑-->
		<div class="list_bottom_fr">
			<span class="tit">您当前位置：</span>
			<a href="{{U('Index/index')}}">首页</a>
			<span class="fenge">></span>
			<a href="{{U('MineYG/index')}}">我的优购</a>
			<span class="fenge">></span>
			<p>我的收货地址</p>
		</div>
		<!--面包屑结束-->
	<!--您当前位置下边部分区域-->
	<div class="mine_bottom">
		<!--左侧-->
		{{include file="TEMPLATE/public/left.html"}}
		<!--左侧结束-->
		<!--右侧区域-->
		<div class="mine_bottom_right">
			<div class="mine_bottom_right1">
				<h2 class="mine_bottom_right11">我的收货地址</h2>
			</div>
			<div class="mine_bottom_right2"><a href="javascript:;" class="mine_bottom_right21">+新增收货地址</a></div>
			<div class="mine_bottom_right3">
				<table border="0" cellspacing="" cellpadding="" class="mine_bottom_right31">
					<tbody>
						<tr class="mine_bottom_right311">
							<th width="136px">收货人</th>
							<th width="150px">所在地区</th>
							<th width="200px">详细地址</th>
							<th width="142px">收货人手机</th>
							<th width="100px">收货时间</th>
							<th width="100px">操作</th>
						</tr>
						{{foreach from="$mineAddress" key="$k" value="$v"}}
						<tr class="mine_bottom_right312">
							<th width="136px" class="uaname">{{$v['uaname']}}</th>
							<th width="150px" class="uaaddress">{{$v['uaaddress']}}</th>
							<th width="200px" class="uaxxaddress">{{$v['uaxxaddress']}}</th>
							<th width="142px" class="uaphonenumber">{{$v['uaphonenumber']}}</th>
							<th width="100px" class="mine_bottom_right3121 uatimer">{{$v['uatimer']}}</th>
							<th width="100px">
								<p>
									<a href="javascript:;" class="mine_bottom_right31212 shanchu"  UAID="{{$v['uaid']}}"></a>
								</p>
							</th>
						</tr>
						{{endforeach}}
					</tbody>
				</table>
			</div>	
			<div class="mine_bottom_right4">
				<form action="{{U('MineYG/add')}}" method="post">
					<p class="title">
						<span class="mine_bottom_right41">新增收货地址</span>
						<span class="mine_bottom_right42">X</span>						
					</p>
					<div class="mine_bottom_right43">
						<p>所 在 地 区：</p>	
						<span>
							<select id="area1" name="uaaddress[]"></select>
							<select id="area2" name="uaaddress[]"></select>
							<select id="area3" name="uaaddress[]">
							</select>
						</span>
										
					</div>
					<div class="mine_bottom_right43">
						<p>详 细 地 址：</p>	
						<input type="text" name="uaxxaddress" id="" value="" class="mine_bottom_right431"/>
						<span class="tishi">请输入收货人地址，要求5-120个字符</span>
						<span class="tishi2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div>
					<div class="mine_bottom_right43">
						<p>收货人姓名：</p>	
						<input type="text" name="uaname"  value="" class="mine_bottom_right432"/>
						<span class="tishi">请输入收货人姓名，要求3-25个字符</span>
						<span class="tishi2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div>
					<div class="mine_bottom_right43">
						<p>收货人手机：</p>	
						<input type="text" name="uaphonenumber" id="" value="" class="mine_bottom_right433"/>
						<span class="tishi">请输入手机号码</span>
						<span class="tishi2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div>
					<div class="mine_bottom_right43">
						<p>收 货 时 间：</p>	
						<select name="uatimer" class="delivery_time">
									<option value="不限时间">不限时间</option>
									<option value="周一至周五">周一至周五</option>
									<option value="周六日/节假日">周六日/节假日</option>
						</select>
						
					</div>
					<div class="mine_bottom_right_btn">
						<input type="submit" name="" id="" value="保存"/>
						<a href="javascript:;" class="quxiao">取消</a>
					</div>
				</form>
			</div>
			

		</div>
		<!--右侧区域结束-->
	</div>
	<!--footer区域开始-->
	<div id="footer_one">
		<div class="footer_one_center">
			<div class="footer_one_center_header">
				<ul>
					<li>
						<i></i>
						<a href=""><em>100%</em>正品保证</a>
					</li>
				</ul>
				<ul>
					<li>
						<i class="footer_i1"></i>
						<a href=""><em>10天</em>退换货</a>
					</li>
				</ul>
				<ul>
					<li>
						<i class="footer_i2"></i>
						<a href=""><em>10天调价</em>补差额</a>
					</li>
				</ul>
				<ul>
					<li>
						<i class="footer_i3"></i>
						<a href=""><em>7×24</em>在线客服</a>
					</li>
				</ul>
			</div>
			<div class="footer_one_center_bottom">
				<dl>
					<dt>新手帮助</dt>
					<dd><a href="">交易条款协议</a></dd>
					<dd><a href="">注册新用户</a></dd>
					<dd><a href="">会员积分详情</a></dd>
				</dl>
				<dl>
					<dt>购物指南</dt>
					<dd><a href="">订购流程</a></dd>
					<dd><a href="">验货与签收</a></dd>
					<dd><a href="">订单配送查询</a></dd>
				</dl>
				<dl>
					<dt>支付/配送</dt>
					<dd><a href="">支付方式</a></dd>
					<dd><a href="">配送方式</a></dd>
					<dd><a href="">配送时间及运费</a></dd>
				</dl>
				<dl>
					<dt>售后服务</dt>
					<dd><a href="">退换货政策</a></dd>
					<dd><a href="">退款说明</a></dd>
					<dd><a href="">发票制度</a></dd>
				</dl>
				<dl>
					<dt>会员服务</dt>
					<dd><a href="">找回密码</a></dd>
					<dd><a href="">联系我们</a></dd>
				</dl>
				<dl class="fot">
					<dt>优购服务</dt>
					<dd><a href="">
						<span></span>
						<a href="">在线咨询</a>
					</dd>
					<dd>Email：<em>service@yougou.com</em></dd>
				</dl>
			</div>
		</div>
		
	</div>
	<div id="footer_two">
		<div class="footer_two_center">
			<div class="footer_two_center_img">
				<a href="" alt="优购时尚商城" title="优购时尚商城"><img src="__TEMPLATE__/images/footer_two_center_img.png"/></a>
			</div>
			<div class="footer_two_center_right">
					<p>
						<a href="">关于优购</a> |
						<a href="">品牌招商</a> |
						<a href="">集团采纳</a> |
						<a href="">招贤纳士</a> |
						<a href="">手机优购</a> |
						<a href="">联系我们</a> |
						<a href="">品牌大全</a> |
						<a href="">网站地图</a> |
						<a href="">销售排行</a> |
						<a href="">优购资讯</a> |
						<a href="">网站联盟</a> |
						<a href="">友情链接</a>
					</p>
					<p>Copyright © 2011-2015 Yougou Technology Co., Ltd. <a href="">粤ICP备09070608号-4</a> 增值电信业务经营许可证：<a href="">粤 B2-20090203</a> 深公网安备：4403101910665</p>
					<div class="footer_two_center_right3">
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right35.png"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right34.png"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right33.jpg"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right32.png"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right31.png"/></a>
					</div>				
			</div>
		</div>
	</div>
	<!--footer区域结束-->
<!--城市联动-->
	<script type="text/javascript">
		$(function(){
			//初始化方法
			area.init('area');
			//修改的时候默认被选中效果
			area.selected('请选择省','请选择市','');
		})
	</script>	
<!--异步删除收货地址-->	
<script type="text/javascript">
	$(function(){
		$('.shanchu').click(function(){
			var UAID = $(this).attr("UAID");
			var _this=$(this);
			$.ajax({
						type:"post",
						url:"{{U('OrderL/del')}}",
						data:{UAID : UAID},//请求数据
						dataType:'json',//数据类型
						success:function(phpData){
							_this.parents('tr').remove();
						}
			});		
		})
		
		
	})
</script>	
</body>
</html>
